//
//  TourismHeadCell.swift
//  AirTravel
//
//  Created by apple on 2021/7/23.
//

import UIKit

class TourismHeadCell: UITableViewCell {

    @IBOutlet weak var inpuView: UIView!
    @IBOutlet weak var adreesBtn: UIButton!
    
    @IBOutlet weak var inputTf: UITextField!
    @IBOutlet weak var topView: UIView!
    @IBOutlet weak var bottomView: UIView!
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
        ///延迟执行之前的代码
        DispatchQueue.main.asyncAfter(deadline: .now() + 0.3, execute:{
            self.bottomView.addCorner(conrners: [.topLeft,.topRight], radius: 6)
        })
        
        self.inpuView.layer.cornerRadius = 34/2
        self.inpuView.layer.borderWidth = 1
        self.inpuView.layer.borderColor = UIColor(red: 235.0 / 255.0, green: 235.0 / 255.0, blue: 235.0 / 255.0, alpha: 1.0).cgColor
        
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
